package com.xwf.study.spring.beans;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @author 许伟峰
 * @date 2020/9/3 16:09
 */
@Component
public class X {

	public X() {
		System.out.println("x construct");
	}

	@PostConstruct
	public void init() {
		System.out.println("x init");
	}

	public void helloWorld() {
		System.out.println("helloWorld!");
	}
}
